package com.demo.web.api;

import com.outstanding.framework.base.db.BaseEnum;

public enum Sex  implements  BaseEnum<Integer> {

	man(10,"男"), woman(11,"女");

	private Sex(Integer code,String message) {
		this.code = code;
		this.message = message;
	
	}

	private Integer code;
	
	private String message;

	@Override
	public Integer getValue() {
		return this.code;
	}

	//返回的是男或女
	@Override
	public String getMessage() {
		return this.message;
	}

	
	
	
}
